<template>
  <div>
    <van-tabbar v-model="active" route>
      <van-tabbar-item to="/shouye" icon="home-o">首页</van-tabbar-item>
      <van-tabbar-item to="/zhaofang" icon="search">找房</van-tabbar-item>
      <van-tabbar-item to="/zixun" icon="friends-o">资讯</van-tabbar-item>
      <van-tabbar-item to="/wode" icon="setting-o">我的</van-tabbar-item>
    </van-tabbar>
    <router-view />
  </div>
</template>

<script>
export default {
  data () {
    return {
      active: 0
    }
  }
}
</script>

<style></style>
